//**********************************************************************************
//leapYear.java
//
//Name: Gabriel Martins	de	Castro
//Class:	COMSC	110L.51
//Date: /2014
//Instructor: Dr.	Chunyan Bai
//
//Purpose: 
//***********************************************************************************

import java.util.Scanner;

public class leapYear
{
      public static void main (String[] args)
   {
   
      System.out.println("Enter the year : ");
      Scanner input = new Scanner(System.in);
      int year = input.nextInt();
    
      if(year%4==0 || (year%100==0 && year%400==0))
         System.out.println(year + " is a leap year!");
      else
         System.out.println(year + " is not a leap year!");
   }
}
